body {
	margin: 0;
	padding: 0;
	background: #f9f9f9;
}
.menu {
	-webkit-perspective: 100000;
	-moz-perspective: 100000;
	-o-perspective: 100000;
	-ms-perspective: 100000;
	perspective: 1200;
	display: block;
	width: 100%;	
/* 	height: 40px; */
	margin: 0 auto;
	list-style: none;
	padding: 0;
	padding: 0 0 0 10px;
	border-radius: 5px;
	background-color: #dce0e2;
	position: fixed  z-index:99999;
}

.menu li {
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	-o-transform-style: preserve-3d;
	-ms-transform-style: preserve-3d;
	transform-style: preserve-3d;
	height: 40px;
	width: 140px;
	margin: 0 10px 0 0;
	float: left;
	position: relative;
	-webkit-transition: all 0.2s linear;
	-moz-transition: all 0.2s linear;
	-o-transition: all 0.2s linear;
	-ms-transition: all 0.2s linear;
	transition: all 0.2s linear;
}

.menu li a {
	display: block;
	color: #fff;
	font-weight: bold;
	box-sizing: border-box;
	height: inherit;
	width: inherit;
	font-size: 1.2em;
	text-decoration: none;
	text-transform: uppercase;
	font-family: Arial, sans-serif;
}

.menu li a span {
	height: inherit;
	width: inherit;
	padding: 10px 10px;
	text-align: center;
	position: absolute;
	left: 0;
	display: block;
}

.current {
	position: relative;
	left:0px;
	display: block;
	top:-22px;
	height: 40px ;
	-webkit-transform: rotate3d(1,0,0,-90deg) translateZ(-20px); 	
	-moz-transform: rotate3d(1,0,0,-90deg) translateZ(-20px); 	
	-o-transform: rotate3d(1,0,0,-90deg) translateZ(-20px); 	
	-ms-transform: rotate3d(1,0,0,-90deg) translateZ(-20px); 	
	transform: rotate3d(1,0,0,-90deg) translateZ(-20px); 	
}

.menu li a span:first-of-type {
	background: #4f595e;
	-webkit-transform: translateZ(74px);
	-moz-transform: translateZ(74px);
	-o-transform: translateZ(74px);
	-ms-transform: translateZ(74px);
	transform: translateZ(74px);
	background-color: #3e4649;
	box-shadow: inset 0px 0px 15px rgba(0,0,0,0.1);
}
	
.menu li a span:nth-of-type(2) {
	background: #4f595e;
	box-shadow: inset 0px 35px 30px -30px rgba(255,255,255,0.1);
	-webkit-transform: rotate3d(1,0,0,90deg) translateZ(32px) translateY(42px);
	-moz-transform: rotate3d(1,0,0,90deg) translateZ(32px) translateY(42px);
	-o-transform: rotate3d(1,0,0,90deg) translateZ(32px) translateY(42px);
	-ms-transform: rotate3d(1,0,0,90deg) translateZ(32px) translateY(42px);
	transform: rotate3d(1,0,0,90deg) translateZ(32px) translateY(42px);
}

.menu li a span:nth-of-type(3) {

	background: #4f595e;
	box-shadow: inset 0px 35px 30px -30px rgba(255,255,255,0.1);
	-webkit-transform: rotate3d(1,0,0,180deg) translateZ(-9px);
	-moz-transform: rotate3d(1,0,0,180deg) translateZ(-9px);
	-o-transform: rotate3d(1,0,0,180deg) translateZ(-9px);
	-ms-transform: rotate3d(1,0,0,180deg) translateZ(-9px);
	transform: rotate3d(1,0,0,180deg) translateZ(-9px);
}

.menu li a span:nth-of-type(4) {
	background: #4f595e;
	-webkit-transform: rotate3d(1,0,0,270deg) translateZ(33px) translateY(-42px);
	-moz-transform: rotate3d(1,0,0,270deg) translateZ(33px) translateY(-42px);
	-o-transform: rotate3d(1,0,0,270deg) translateZ(33px) translateY(-42px);
	-ms-transform: rotate3d(1,0,0,270deg) translateZ(33px) translateY(-42px);
	transform: rotate3d(1,0,0,270deg) translateZ(33px) translateY(-42px);
}
	
.menu > li:hover {
	position: relative;
	left:0px;
	display: block;
	top:-22px;
	height: 40px ;
	-webkit-transform: rotate3d(1,0,0,-90deg) translateZ(-20px); 
	-moz-transform: rotate3d(1,0,0,-90deg) translateZ(-20px); 
	-o-transform: rotate3d(1,0,0,-90deg) translateZ(-20px); 
	-ms-transform: rotate3d(1,0,0,-90deg) translateZ(-20px); 
	transform: rotate3d(1,0,0,-90deg) translateZ(-20px); 
}

.menu > .current:hover {
	position: relative;
	left:0px;
	display: block;
	top:-22px;
	height: 40px ;
	-webkit-transform: rotate3d(1,0,0,-180deg) translateY(-44px);
	-moz-transform: rotate3d(1,0,0,90deg) translateZ(-64px);
	-o-transform: rotate3d(1,0,0,-180deg) translateY(-44px);
	-ms-transform: rotate3d(1,0,0,-180deg) translateY(-44px);
	transform: rotate3d(1,0,0,-180deg) translateY(-44px);
}

.menu > .current span:nth-of-type(4), .menu > li:hover span:nth-of-type(4) {
	background: #4f595e;
}

.menu > .current:hover span:nth-of-type(4) {
	background: #4f595e;
}
.menu ul {
	opacity: 0;
	width: 100%;
	border-radius: 0;
	padding: 0;
}

.menu > li:hover ul {
	position: relative;
	left:0px;
	display: block;
	top:-22px;
	height: 40px ;
	opacity: 1;
	height: auto;
	background: #4f595e;
	-webkit-transition: opacity 0.1s linear 0.3s;
	-moz-transition: opacity 0.1s linear 0.3s;
	-o-transition: opacity 0.1s linear 0.3s;
	-ms-transition: opacity 0.1s linear 0.3s;
	transition: opacity 0.1s linear 0.3s;
	-webkit-transform: rotate3d(1,0,0, 90deg) translateY(114px);
	-moz-transform: rotate3d(1,0,0, 90deg) translateY(115px);
	-o-transform: rotate3d(1,0,0, 90deg) translateY(114px);
	-ms-transform: rotate3d(1,0,0, 90deg) translateY(114px);
	transform: rotate3d(1,0,0, 90deg) translateY(114px);
	position: absolute;
	left: 0;
	top: 65px;
}

.menu > li ul {
	-webkit-transform: rotate3d(1,0,0, 90deg);	
	-moz-transform: rotate3d(1,0,0, 90deg);	
	-o-transform: rotate3d(1,0,0, 90deg);	
	-ms-transform: rotate3d(1,0,0, 90deg);	
	transform: rotate3d(1,0,0, 90deg);	
}
.menu > .current:hover ul {
	position: relative;
	left:0px;
	display: block;
	top:-22px;
	height: 40px ;
	-webkit-transform: rotate3d(1,0,0, 180deg) translateY(145px);	
	-moz-transform: rotate3d(1,0,0, 270deg) translateY(31px);	
	-o-transform: rotate3d(1,0,0, 180deg) translateY(141px);	
	-ms-transform: rotate3d(1,0,0, 180deg) translateY(161px);	
	transform: rotate3d(1,0,0, 180deg) translateY(161px);	
	top: 65px;
	background: #4f595e;
}

.menu ul li {
	display: block;
	float: none;
	border-radius: 0;
	background: inherit;
	width: 170px;
	height: 40px;
}

.menu ul li a {
	box-sizing: border-box;
	padding: 8px 0 0 25px;
	background: inherit;
	width: inherit;
}

.menu ul li a:hover {
	background-color: #4f595e;
}

.menu ul .current a:hover {
	background-color: #4f595e;
}
.menu .contact {
	width: 170px;
}


